package com.jiazhong.front.service;

import com.jiazhong.commons.Util.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface ShoppingCartService {
    JsonResult add(String token, String bookId);

    JsonResult find (String token);

    JsonResult changeNumber(String token,String bookId,int change);

    JsonResult changeNumber2(String token,String bookId,int change);

    JsonResult remove(String token, String bookId);

    JsonResult removeBatch(String token, String... bookId);
}
